#!/usr/bin/env python
# encoding: utf-8
'''
@author: zhaowenpeng
@contact: winston@peipeiyun.com
@software: garner
@file: health_handler.py
@time: 2021/2/26 下午2:30
@desc:
'''

from tornado.web import RequestHandler
class HealthCheckHandler(RequestHandler):

    async def get(self, *args, **kwargs):
        self.write('ok')
        self.finish()

    async def post(self, *args, **kwargs):
        self.write('ok')
        self.finish()